<?php

// funciones mat.  suma/resta/div/mul

function suma($valor1,$valor2){
	$total = $valor1+$valor2;
	return $total;
	}

function resta($valor1,$valor2){
	$total = $valor1-$valor2;
	return $total;
	}
function div($valor1,$valor2){
	if($valor2<>0){
		$total = $valor1/$valor2;
		echo "el total de la div es ".$total;
		}
	}	
function mul($valor1,$valor2){
		$total = $valor1*$valor2;
		echo "el total de la mul es ".$total;	
	}


?>